<?php /* Smarty version 2.6.20, created on 2016-07-19 15:22:42
         compiled from magic_order.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'magic_order.htm', 40, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>订单管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../script/jquery-1.4.4.min.js"></script>
<script language="javascript" src="../script/Calendar.js"></script>
</head>
<body>
<div class="container">
    <div class="flow">
        <div class="itemtitle">
            <h3>订单管理</h3>
        </div>
    </div>
    <div class="h35"></div>
    <table class="table product">
       <tbody>
       <tr class="header">
            <th width="130">订单编号</th>
            <th width="130">订单总额</th>
            <th width="100">上级店铺</th>
            <th width="100">买家名称</th>
            <th width="100">收货人</th>
            <th width="100">收货人电话</th>
            <th width="100">收货地址</th>
            <th width="100">下单时间</th>
            <th width="110">订单状态</th>
        </tr>
        <?php $_from = $this->_tpl_vars['de']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['list']):
?>
        <tr class="<?php if ($this->_tpl_vars['list']['status'] == 1): ?>bold<?php endif; ?>">
            <td><?php echo $this->_tpl_vars['list']['orderNum']; ?>
</td>
            <td>30.00</td>
            <td><?php echo $this->_tpl_vars['list']['direct_rec_mid']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['member_id']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['name']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['mobile']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['address']; ?>
</td>
            <td><?php echo ((is_array($_tmp=$this->_tpl_vars['list']['createtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d<br>%H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d<br>%H:%M:%S")); ?>
</td>
            <td>
                <?php if ($this->_tpl_vars['list']['type'] == 1): ?>完成<?php else: ?>未支付<?php endif; ?>
            </td>
        </tr>
        <?php endforeach; else: ?>
        <tr>
            <td class="norecord" colspan="99"><i></i><span>暂无符合条件的数据记录</span></td>
        </tr>
        <?php endif; unset($_from); ?>
		</tbody>
        <tfoot>
            <tr>
                <td colspan="99">
                	<div class="fl">每页最多显示： 20条</div>
                    <div class="page"><?php echo $this->_tpl_vars['de']['page']; ?>
</div>
                    <div class="fr">共有<?php echo $this->_tpl_vars['de']['count']; ?>
条记录</div>
                </td>
            </tr>
        </tfoot>
    </table>
</div>
</body>
</html>